<?php

namespace App\Http\Controllers\YApi;

//use Illuminate\Http\Request;
use Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;

use Session;
use Redirect;

use App\Models\Shudan;

class ShudancountController extends Controller
{

  public function shudancount($uid)
  {
      // 统计书单的总数

      $shudancont = Shudan::where('uid', $uid)->count();

      return  $shudancont;
  }
    
}